﻿using Crossroad.Core.Configs;
using Microsoft.Extensions.Configuration;
using System;
using System.IO;

namespace CodeGenerator
{
    class Program
    {
        static void Main(string[] args)
        {
            var basePath = Directory.GetCurrentDirectory();
            var configuration = new ConfigurationBuilder()
                    .SetBasePath(basePath)
                    .AddJsonFile("appsettings.json", optional: true)
                    .Build();

            new AppConfig(configuration);

            var rootPath = @"D:\projects\agriculture_data\code\AgricultureData";
            GeneratorContext context = new GeneratorContext(null);
        }


    }
}
